#pragma once

#include <string>
#include <bhttpclient/brequest.h>

namespace uis {

class request : public bhttp::brequest
{
public:
    explicit request(bhttp::brequest::type tp = bhttp::brequest::type::POST, const std::string& content_type = "application/json");

    ~request();

    void make_auth();

private:
    std::string make_msg_ident();
    std::string make_sign_date();
};

}
